<template>
  <div class="dashboard-container">
    <Monitor />
    <Sales />
    <Search />
  </div>
</template>

<script>
import { mapActions } from 'vuex'
import Monitor from './Monitor'
import Sales from './Sales'
import Search from './Search'
export default {
  name: 'Dashboard',
  components: {
    Monitor,
    Sales,
    Search
  },
  mounted() {
    this.getHomeList()
  },
  // computed: {
  //   ...mapGetters(['name'])
  // },
  methods: {
    ...mapActions('home', ['getHomeList'])
  }
}
</script>

<style lang="scss" scoped>
</style>
